package main

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

func main15() {
	r := gin.Default()
	smart := r.Group("/smart")
	{
		smart.GET("/user/register", func(c *gin.Context) {
			c.String(http.StatusOK, "用户注册")
		})
		smart.POST("/user/login", func(c *gin.Context) {
			c.String(http.StatusOK, "用户登录")
		})

		smart.GET("/order/list", func(c *gin.Context) {
			c.String(http.StatusOK, "查询订单列表")
		})
		smart.GET("/order/detail", func(c *gin.Context) {
			c.String(http.StatusOK, "查询订单详情")
		})
	}

}
